package com.mtsmda.chapter1.enumEx;

public enum SuperEnum {

	SPARTAK(1), Milan(5, "Italy"), BARCELONA(1), REAL_MADRID(2), CHELSEA(1){
		@Override
		public String getCity() {
			return "London";
		}
	};

	private Integer place;
	private String country;

	SuperEnum(Integer place) {
		this.place = place;
	}

	SuperEnum(Integer place, String country) {
		this.place = place;
		this.country = country;
	}

	public Integer getPlace() {
		return place;
	}

	public String getCountry() {
		return country;
	}
	
	public String getCity(){
		return "Not define city!";
	}

}